package com.hoshiicloud.shxping.feign.hystrix;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.shxping.dto.ESSpuDTO;
import com.hoshiicloud.shxping.feign.IElasticSearchFeignService;
import org.springframework.stereotype.Component;

/**
 * @author yangcheng
 * @version 1.0
 * @title: HystrixElasticSearchFeignFallback
 * @description: ES微服务FeignClient熔断器
 * @date 2019/9/12 10:33
 * @mail maiboyc@163.com
 */
@Component
public class HystrixElasticSearchFeignFallback implements IElasticSearchFeignService {

    @Override
    public Page<ESSpuDTO> list(Long storeId, Integer pageNum, Integer pageSize) {
        return null;
    }

    @Override
    public Page<ESSpuDTO> search(String keyword, Long storeId, Integer pageNum, Integer pageSize) {
        return null;
    }
}
